package z.explorer.core.task.dao.impl;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import z.explorer.core.task.Task;
import z.explorer.core.task.dao.TaskDAO;

public class TaskDAOImpl extends SqlMapClientDaoSupport implements TaskDAO {

	@Override
	public List<Task> searchAll() {
		return (List<Task>) getSqlMapClientTemplate().queryForList(
				"selectAllTasks");
	}

	@Override
	public Task searchById(int id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Task> searchPage(int pageNum, int recordNum) {
		// TODO Auto-generated method stub
		return null;
	}

}
